<!DOCTYPE html>
<html>
<head>
    <title>{block name="title"}{/block}</title>
    <meta charset="utf-8">
    <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="http://cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="http://cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/labManageSystem/public/static/css/index.css">
    <link rel="stylesheet" type="text/css" href="/labManageSystem/public/message.css">
    <link rel="stylesheet" type="text/css" href="/labManageSystem/public/table/index.css">
</head>
<body>
	<nav class="navbar navbar-inverse" role="navigation">
		<div class="container-fluid">
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<!--<li><a href="{:url('Administrator/personalInformation')}">个人信息</a></li>-->
					<!-- <li><a href="{:url('Administrator/changeClasses')}">教师换课调课</a></li> -->
					<li {eq name=":request()->controller()" value="Administrator"}class="active"{/eq}><a href ="{:url('Administrator/index')}">首页</a></li>
					<li {eq name=":request()->controller()" value="Classroom"}class="active"{/eq}><a href="{:url('Classroom/index')}">教室管理</a></li>
					<li {eq name=":request()->controller()" value="Course"}class="active"{/eq}><a href="{:url('Course/index')}">课程管理</a></li>
					<li {eq name=":request()->controller()" value="Semester"}class="active"{/eq}><a href="{:url('Semester/index')}">学期管理</a></li>
					<li {eq name=":request()->controller()" value="College"}class="active"{/eq}><a href="{:url('College/index')}">学院管理</a></li>
					<li {eq name=":request()->controller()" value="Major"}class="active"{/eq}><a href="{:url('Major/index')}">专业管理</a></li>
					<li {eq name=":request()->controller()" value="Grade"}class="active"{/eq}><a href="{:url('Grade/index')}">年级管理</a></li>
					<li {eq name=":request()->controller()" value="Klass"}class="active"{/eq}><a href="{:url('Klass/index')}">班级管理</a></li>
					<li {eq name=":request()->action()" value="message"}class="active"{/eq}><a href="{:url('Administrator/message')}">换课请求
							{eq name="$total_number" value="0"}
							{else/}<div class="nav-counter nav-counter-red">{$total_number}</div>
							{/eq}
					</a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="{:url('Administrator/logout')}">注销登录</a></li>
				</ul>
			</div><!-- /.navbar-collapse -->
		</div><!-- /.container-fluid -->
	</nav>
{block name="content"}

{/block}
</body>
</html>